{% set setting = {title:'小区管理列表',beforeLink:['/css/plugins/chosen/chosen.css']} %} {% include "../_partial/head.html" with setting %}
<link href="{{basePath}}/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
<link href="{{basePath}}/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<link rel="stylesheet" href="{{basePath}}/css/plugins/iCheck/custom.css" type="text/css">

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                </div>
                <div class="ibox-content">
                    {% set params = {
                    selector:'villageSearch',
                    list:[{
                    name:'zoneId1',
                    type:'select',
                    title:'省级',
                    class:'province',
                    placeholder:'请选择'
                    },{
                    name:'zoneId2',
                    type:'select',
                    title:'市级',
                    class:'city',
                    placeholder:'请选择'
                    },{
                    name:'zoneId3',
                    type:'select',
                    title:'区/县级',
                    class:'country',
                    placeholder:'请选择'
                    },{
                    name:'zoneId4',
                    type:'select',
                    title:'板块级',
                    class:'plate',
                    placeholder:'请输入...'
                    },{
                    name:'villageName',
                    type:'text',
                    title:'小区名称',
                    class:'',
                    placeholder:'请输入...'
                    },{
                    name:'villageAddress',
                    type:'text',
                    title:'小区地址',
                    class:'',
                    placeholder:'请输入...'
                    },{
                    name:'status',
                    type:'hidden',
                    value:'AVAILABLE'
                    }]
                    } %}
                    {% include "../modal/dataTable-search-form.html" with params %}
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>小区列表</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <button class="btn btn-danger deleteVillageButton" type="button"><i class="fa fa-trash-o"></i>&nbsp;&nbsp;<span class="bold">删除小区</span></button>
                            <button class="btn btn-success insertHouseButton" type="button"><i class="fa fa-plus"></i>&nbsp;&nbsp;<span class="bold" id="add">添加小区</span></button>
                        </div>
                    </div>
                    <table id="data-list" class="table table-striped table-bordered table-hover dataTables-village-list"></table>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

{% include "../_partial/foot.html" %}
<script src="{{basePath}}/plugins/dataTables/jquery.dataTables.js"></script>
<script src="{{basePath}}/plugins/dataTables/dataTables.bootstrap.js"></script>
<script src="{{basePath}}/plugins/dataTables/dataTables.setting.js"></script>
<!-- 单选、多选插件 -->
<script src="{{basePath}}/plugins/iCheck/icheck.min.js"></script>
<!-- select 插件 -->
<script src="{{basePath}}/plugins/chosen/chosen.jquery.js"></script>

<script src="{{basePath}}/js/basicInfo/villageList.js"></script>